<?php

class Rule_Float extends Rule_Abstract
{
	public $_config = array('msg' => 'Not number');

    public function isValid($value, $params = null)
    {
        return filter_var($value, FILTER_VALIDATE_URL);
    }
}